package com.example.base_flutter_project

import android.os.Bundle
import com.zl.flutter.asr_plugin.AsrPlugin

import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant
class MainActivity: FlutterActivity() {
  override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    GeneratedPluginRegistrant.registerWith(this)
    registerselfPlugin()
  }

  fun registerselfPlugin(){
    AsrPlugin.registerWith(registrarFor("com.zl.flutter.asr_plugin"))
  }
}
